// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:29

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   u6.java

package com.zelix;

import java.io.Serializable;

public class u6
    implements Comparable, Serializable
{

    Comparable a;
    Comparable b;

    public u6(Comparable comparable, Comparable comparable1)
    {
        if(comparable == null)
        {
            throw new IllegalArgumentException(getClass().getName());
        } else
        {
            a = comparable;
            b = comparable1;
            return;
        }
    }

    public int compareTo(Object obj)
    {
        u6 u6_1 = (u6)obj;
        return a.compareTo(u6_1.a);
    }

    public boolean equals(Object obj)
    {
        if(obj instanceof u6)
        {
            u6 u6_1 = (u6)obj;
            return a.equals(u6_1.a) && (b == null && u6_1.b == null || b != null && u6_1.b != null && b.equals(u6_1.b));
        } else
        {
            return false;
        }
    }

    public Comparable a()
    {
        return a;
    }

    public Comparable b()
    {
        return b;
    }

    public int hashCode()
    {
        if(b == null)
            return a.hashCode();
        else
            return a.hashCode() ^ b.hashCode();
    }
}